// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FA_ASSETS
// * CreateDate    : 2014-06-05 18:29:41
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:41
// * LastChanger   : 2014-06-05 18:29:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FaAssetsTable : TableInfo
    {
		public const string C_TableName = "FA_ASSETS";
		
		public const string C_ID = "ID";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_ASSET_TYPE_ID = "ASSET_TYPE_ID";
		public const string C_MANUFACTURER_CYCLE = "MANUFACTURER_CYCLE";
		public const string C_PARENT_ASSET = "PARENT_ASSET";
		public const string C_ASSET_CODE = "ASSET_CODE";
		public const string C_ASSET_NAME = "ASSET_NAME";
		public const string C_ASSET_DESCRIPTION = "ASSET_DESCRIPTION";
		public const string C_ASSET_SPEC = "ASSET_SPEC";
		public const string C_PURCHASE_DATE = "PURCHASE_DATE";
		public const string C_MANUFACTURER = "MANUFACTURER";
		public const string C_NEED_MAINTENANCE = "NEED_MAINTENANCE";
		public const string C_PRODUCTION_DATE = "PRODUCTION_DATE";
		public const string C_PRODUCTION_CODE = "PRODUCTION_CODE";
		public const string C_NEXT_MAINTAIN_DATE = "NEXT_MAINTAIN_DATE";
		public const string C_NEXT_MAINTAIN_ITEM = "NEXT_MAINTAIN_ITEM";
		public const string C_MAINTAIN_REMARK = "MAINTAIN_REMARK";
		public const string C_PRICE = "PRICE";
		public const string C_STATUS = "STATUS";
		
		public FaAssetsTable()
        {
            _tableName = "FA_ASSETS";
        }
		
		protected static FaAssetsTable _current;
        public static FaAssetsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FaAssetsTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_ASSET_TYPE_ID, new ColumnInfo(C_ASSET_TYPE_ID,"AssetTypeId", false, typeof(string)));
            _current.Add(C_MANUFACTURER_CYCLE, new ColumnInfo(C_MANUFACTURER_CYCLE,"ManufacturerCycle", false, typeof(string)));
            _current.Add(C_PARENT_ASSET, new ColumnInfo(C_PARENT_ASSET,"ParentAsset", false, typeof(string)));
            _current.Add(C_ASSET_CODE, new ColumnInfo(C_ASSET_CODE,"AssetCode", false, typeof(string)));
            _current.Add(C_ASSET_NAME, new ColumnInfo(C_ASSET_NAME,"AssetName", false, typeof(string)));
            _current.Add(C_ASSET_DESCRIPTION, new ColumnInfo(C_ASSET_DESCRIPTION,"AssetDescription", false, typeof(string)));
            _current.Add(C_ASSET_SPEC, new ColumnInfo(C_ASSET_SPEC,"AssetSpec", false, typeof(string)));
            _current.Add(C_PURCHASE_DATE, new ColumnInfo(C_PURCHASE_DATE,"PurchaseDate", false, typeof(DateTime)));
            _current.Add(C_MANUFACTURER, new ColumnInfo(C_MANUFACTURER,"Manufacturer", false, typeof(string)));
            _current.Add(C_NEED_MAINTENANCE, new ColumnInfo(C_NEED_MAINTENANCE,"NeedMaintenance", false, typeof(decimal)));
            _current.Add(C_PRODUCTION_DATE, new ColumnInfo(C_PRODUCTION_DATE,"ProductionDate", false, typeof(DateTime)));
            _current.Add(C_PRODUCTION_CODE, new ColumnInfo(C_PRODUCTION_CODE,"ProductionCode", false, typeof(string)));
            _current.Add(C_NEXT_MAINTAIN_DATE, new ColumnInfo(C_NEXT_MAINTAIN_DATE,"NextMaintainDate", false, typeof(DateTime)));
            _current.Add(C_NEXT_MAINTAIN_ITEM, new ColumnInfo(C_NEXT_MAINTAIN_ITEM,"NextMaintainItem", false, typeof(string)));
            _current.Add(C_MAINTAIN_REMARK, new ColumnInfo(C_MAINTAIN_REMARK,"MaintainRemark", false, typeof(string)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE,"Price", false, typeof(decimal)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo ASSET_TYPE_ID
        {
            get { return this[C_ASSET_TYPE_ID]; }
        }
		
		public ColumnInfo MANUFACTURER_CYCLE
        {
            get { return this[C_MANUFACTURER_CYCLE]; }
        }
		
		public ColumnInfo PARENT_ASSET
        {
            get { return this[C_PARENT_ASSET]; }
        }
		
		public ColumnInfo ASSET_CODE
        {
            get { return this[C_ASSET_CODE]; }
        }
		
		public ColumnInfo ASSET_NAME
        {
            get { return this[C_ASSET_NAME]; }
        }
		
		public ColumnInfo ASSET_DESCRIPTION
        {
            get { return this[C_ASSET_DESCRIPTION]; }
        }
		
		public ColumnInfo ASSET_SPEC
        {
            get { return this[C_ASSET_SPEC]; }
        }
		
		public ColumnInfo PURCHASE_DATE
        {
            get { return this[C_PURCHASE_DATE]; }
        }
		
		public ColumnInfo MANUFACTURER
        {
            get { return this[C_MANUFACTURER]; }
        }
		
		public ColumnInfo NEED_MAINTENANCE
        {
            get { return this[C_NEED_MAINTENANCE]; }
        }
		
		public ColumnInfo PRODUCTION_DATE
        {
            get { return this[C_PRODUCTION_DATE]; }
        }
		
		public ColumnInfo PRODUCTION_CODE
        {
            get { return this[C_PRODUCTION_CODE]; }
        }
		
		public ColumnInfo NEXT_MAINTAIN_DATE
        {
            get { return this[C_NEXT_MAINTAIN_DATE]; }
        }
		
		public ColumnInfo NEXT_MAINTAIN_ITEM
        {
            get { return this[C_NEXT_MAINTAIN_ITEM]; }
        }
		
		public ColumnInfo MAINTAIN_REMARK
        {
            get { return this[C_MAINTAIN_REMARK]; }
        }
		
		public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

